package com.hippomeetsskunk.savanna.types.world;


public class Clima {

	private ClimaCurve temperature;
	private ClimaCurve humidity;
	
	private double dayNightTemperatureVariation;
	private double temperatureVariation;
	private double humidityVariation;
	
	public Clima(ClimaCurve temperature, ClimaCurve humidity, double dayNightTemperatureVariation, double temperatureVariation, double humidityVariation){
		this.temperature = temperature;
		this.humidity = humidity;
		this.dayNightTemperatureVariation = dayNightTemperatureVariation;
		this.temperatureVariation = temperatureVariation;
		this.humidityVariation = humidityVariation;
	}
	
	public double getExpectedTemperature(Time time){
		return temperature.getValue(time);
	}
	
	public double getExpectedHumidity(Time time){
		return humidity.getValue(time);
	}
	
	public double getDayNightTemperatureVariation(){
		return dayNightTemperatureVariation;
	}
	
	public double getDailyTemperatureVariation(){
		return temperatureVariation;
	}
	
	public double getDailyHumidityVariation(){
		return humidityVariation;
	}
}
